package com.zmm.util.document.register;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author 900045
 * @description:
 * @name CheckPermission
 * @date By 2021-10-26 16:53:59
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface CheckPermission {
	
	

	/**
	 * 描述
	 *
	 * @return
	 */
	String description() default "" ;

	int code() default 0;
	
	String version() default "1.0.0";
	
	boolean success() default true;
	
	boolean retry() default true;
	
	String statusCode() default "";
	
	String statusMessage() default "";

	/**
	 *  返回的 响应类
	 *       用于反射解析出返回参数 
	 * @return
	 */
	Class<?> respClass() default Object.class;
}
